#pragma once
#include "DataRequest.hpp"

class GroupHandler : public DataRequest<GroupHandler>
{
public:
	bool get_count_sql(sql_string<>& sql)
	{
		sql = "select count(*) from t_users_group";
		return true;
	}

	bool get_data_sql(sql_string<>& sql)
	{
		sql = "select gid,name from t_users_group order by name";
		return true;
	}
};

